package 队列;

public class Main {
    public static void main(String[] args) {
        _225_用队列实现栈 myStack = new _225_用队列实现栈();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);

        System.out.println(myStack.top()); // 返回 2
        System.out.println(myStack.pop()); // 返回 2
        System.out.println(myStack.empty()); // 返回 False


    }
}
